package com.habitsoft.glassfish.dashboard.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("log-service.rpc")
public interface LogService extends RemoteService {

    int countLogMessages(String logFile, String filter)  throws AccessDenied, LogNotFound;

    String[] getLogMessages(String logFile, String filter, int offset, int limit) throws AccessDenied, LogNotFound;

    String[] listLogFiles() throws AccessDenied;

}
